package com.devops.admin.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassNem DOSProject
 * @Description TODO
 * @Author heyabo
 * @Date 2022/3/18 15:26
 * @Version 1.0
 **/
@Data
@TableName("dos_project")
@SuperBuilder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
public class DOSProject extends DOSModel{

    /**
     * 项目组id
     **/
    @TableField("group_id")
    private Integer groupId;
    /**
     * 集群id
     **/
    @TableField("cluster_id")
    private Integer clusterId;
    /**
     * 命名空间id
     **/
    @TableField("namespace_id")
    private Integer namespaceId;
    /**
     * 环境id
     **/
    @TableField("env_id")
    private Integer envId;
    /**
     * 项目名称
     **/
    @TableField("project_name")
    private String projectName;
    /**
     * 项目描述
     **/
    @TableField("project_desc")
    private String projectDesc;
    /**
     * 最新的版本号（版本号+环境类型的名称）
     **/
    @TableField(exist = false)
    private String latestVersion;
    /**
     * 判断相似度的校验
     **/
    @TableField(exist = false)
    private Integer checkType;
}
